package cn.zcf.basic.exception;

import lombok.Data;


public class BusinessException extends RuntimeException{
    private String message;
    public BusinessException() {
    }
    public BusinessException(String message) {
        super(message);
        this.message = message;
    }

    @Override
    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}